<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<title>添加病情</title>
	<link rel="stylesheet" type="text/css" href="/eazyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="/eazyui/themes/color.css">
	<link rel="stylesheet" type="text/css " href="/eazyui/themes/icon.css">

	<link rel="stylesheet" type="text/css" href="/eazyui/demo.css">
	<script type="text/javascript" src="/eazyui/jquery.min.js"></script>
	<script type="text/javascript" src="/eazyui/jquery.easyui.min.js"></script>
</head>

<body>
	<h2>病情基础信息</h2>
	<div id="w" class="easyui-panel" title="添加病症（基础）" data-options="modal:true,iconCls:'icon-list'" style="width:500px;height:auto;padding:10px;">
		<a href="#" class="easyui-linkbutton" iconCls="icon-add" onclick="additem()">添加病情</a>
		<div>病名:</div>
		<input class="easyui-textbox" style="width:50%;height:32px" />
		<input class="easyui-combobox" name="category" style="width:50%;" data-options="
		url:'category.json',
		method:'get',
		valueField:'id',
		textField:'text',
		panelHeight:'auto',
		label: '科室:',
		labelPosition: 'top'
		">
		<div>病情
			<br>
			<ol id="sicks">
				<li>
					<input id="tt" class="easyui-textbox" style="width:50%;height:32px">
				</li>
				<li>
					<input id="tt" class="easyui-textbox" style="width:50%;height:32px">
				</li>
				<li>
					<input id="tt" class="easyui-textbox" style="width:50%;height:32px">
				</li>
			</ol>
		</div>
		<a href="#" class="easyui-linkbutton c4" style="width:120px">下一步</a>
	</div>
	<script type="text/javascript">
		function additem() {
			var html = "<li><input id='swa' class='easyui-textbox' style='width:50%;height:32px'></li> ";
			var targetObj = $(html).appendTo("#sicks");
			$.parser.parse(targetObj.parent);
		}
	</script>
</body>

</html>